package cn.yh.shop.product.model;

import java.sql.Timestamp;

import org.springframework.stereotype.Component;

/**
 * TBrand entity. @author MyEclipse Persistence Tools
 */
@Component
public class Brand implements java.io.Serializable {

	// Fields

	/**
	 * @Description: serialVersionUID : TODO
	 */
	private static final long serialVersionUID = 1L;
	private Integer id;//品牌id
	private String name;//品牌名称
	private String addPeopleName;//添加人员姓名
	private Timestamp addTime;//添加时间
	private String altPeopleName;//修改人员姓名
	private Timestamp altTime;//修改时间

	// Constructors

	/** default constructor */
	public Brand() {
	}

	/** minimal constructor */
	public Brand(String name) {
		this.name = name;
	}

	/** full constructor */
	public Brand(String name, String addPeopleName, Timestamp addTime,
			String altPeopleName, Timestamp altTime) {
		this.name = name;
		this.addPeopleName = addPeopleName;
		this.addTime = addTime;
		this.altPeopleName = altPeopleName;
		this.altTime = altTime;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddPeopleName() {
		return this.addPeopleName;
	}

	public void setAddPeopleName(String addPeopleName) {
		this.addPeopleName = addPeopleName;
	}

	public Timestamp getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}

	public String getAltPeopleName() {
		return this.altPeopleName;
	}

	public void setAltPeopleName(String altPeopleName) {
		this.altPeopleName = altPeopleName;
	}

	public Timestamp getAltTime() {
		return this.altTime;
	}

	public void setAltTime(Timestamp altTime) {
		this.altTime = altTime;
	}

}